package com.tapstitch.scm.common.core.domain;


import com.tapstitch.scm.common.enums.config.InternationalizationEnum;

public enum BaseRespCode {


    SUCCESS(200, InternationalizationEnum.SUCCESS.getMessage()),
    SYS_ERROR(10001, InternationalizationEnum.SYS_ERROR.getMessage()),
    PARAM_ERROR(10002,InternationalizationEnum.PARAM_ERROR.getMessage()),
    ;

    private int code;
    private String msg;

    private BaseRespCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }
}
